from django.db import models

class BaseModel(models.Model):
    isshow = models.BooleanField(default=True)
    order = models.IntegerField(default=0)
    createtime = models.DateTimeField(auto_now_add=True)
    class Meta:
        abstract = True #抽象模型类，不会再数据库中生成表



